package com.eggy648.moreeggs.item;

import com.sun.istack.internal.NotNull;
import net.minecraft.item.ItemStack;

/**
 * Created by Cheese on 2017/2/26.
 * help some stack function
 */
public class stackHelper {
    public static int getStatckSize(@NotNull ItemStack stack)
    {
        return stack!=null?stack.func_190916_E():0;
    }
    public static void setStackSize(@NotNull ItemStack stack,@NotNull int stackSize)
    {
        stack.func_190920_e(stackSize);
    }
}
